Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NGeometry2D Class / GetMedicenter Method / GetMedicenter(NPoint[]) Method
Array of points.


In This Topic
    GetMedicenter(NPoint[]) Method
    In This Topic
    Calculates the medicenter (center of mass) of the points in the specified points array.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetMedicenter( _
       ByVal points() As NPoint _
    ) As NPoint
    'Usage
     
    
    Dim points() As NPoint
    Dim value As NPoint
     
    value = NGeometry2D.GetMedicenter(points)
    public static NPoint GetMedicenter( 
       NPoint[] points
    )

    Parameters

    points
    Array of points.

    Return Value

    the medicenter
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also